﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;
using Volo.Abp;

namespace Himp.Platform.Dc
{
    /// <summary>
    /// 库存变更类别
    /// inv_chg_type
    /// </summary>
    [Table("INV_CHG_TYPE_DICT")]
    public class InvChgTypeDict : Entity<Guid>, IMultiTenant, ISoftDelete
    {
        /// <summary>
        /// 库存变更类别编码
        /// </summary>
        [Column("INV_CHG_TYPE_CODE")]
        public string InvChgTypeCode { get; set; }

        /// <summary>
        /// 库存变更类别名称
        /// </summary>
        [Column("INV_CHG_TYPE_NAME")]
        public string InvChgTypeName { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>
        [Column("VER")]
        public int Ver { get; set; }

        /// <summary>
        /// 拼音助记码
        /// </summary>
        [Column("PINYIN_MEMO")]
        public string? PinyinMemo { get; set; }

        /// <summary>
        /// 五笔助记码
        /// </summary>
        [Column("WUBI_MEMO")]
        public string? WubiMemo { get; set; }

        /// <summary>
        /// 数据字典代码
        /// </summary>
        [Column("DATA_DICT_CODE")]
        public string DataDictCode { get; set; }

        /// <summary>
        /// 数据字典名称
        /// </summary>
        [Column("DATA_DICT_NAME")]
        public string DataDictName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? TenantId { get; set; }

        public InvChgTypeDict()
        { 
        
        }

        public InvChgTypeDict(string invChgTypeCode, string invChgTypeName
            , string dataDictCode, string dataDictName)
        {
            InvChgTypeCode = invChgTypeCode;
            InvChgTypeName = invChgTypeName;
            DataDictCode = dataDictCode;
            DataDictName = dataDictName;
        }
    }
}
